package com.wgu.modules.web.vo;

import com.wgu.common.group.AddGroup;
import com.wgu.common.group.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: w
 * @Date: 2019/6/24 15:48
 * @Version 1.0
 */
@Data
public class UserVO {
    @NotBlank(message = "登录名不能为空",groups = {AddGroup.class,UpdateGroup.class})
    private String username;

    @NotBlank(message = "真实姓名不能为空",groups = {AddGroup.class,UpdateGroup.class})
    private String realName;// 真实姓名
}
